﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EmpListMutil.aspx.cs" Inherits="UI.ModEmployee.EmpListMutil" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>员工信息查询</title>
    <link rel="stylesheet" type="text/css" href="../Styles/BaseStyle.css" />
    <style type="text/css">
        .style1
        {
            height: 27px;
            font-family: "Tahoma" , "宋体";
            font-size: 9pt;
            width: 73px;
        }
    </style>
</head>
<body >
    <form id="form1" runat="server">
    <div id="pagetop" class="pagetop">
        <div class="pagetopleft">
            员工档案管理</div>
        <div class="pagetopright">
            工号<asp:TextBox ID="txtCode" runat="server" Width="56px" CssClass="InputCss"></asp:TextBox>
            &nbsp;姓名<asp:TextBox ID="txtName" runat="server" CssClass="InputCss" Width="69px"></asp:TextBox>
            &nbsp;部门<asp:TextBox ID="txtDept" runat="server" CssClass="InputCss" Width="69px"></asp:TextBox>
            &nbsp;职位<asp:TextBox ID="txtDuty" runat="server" CssClass="InputCss" Width="69px"></asp:TextBox>
            &nbsp;区域<asp:TextBox ID="txtArea" runat="server" CssClass="InputCss" Width="69px"></asp:TextBox>
            &nbsp;<asp:Button ID="btnEmSearch" runat="server" Width="40px" Text="查询" OnClick="btnEmSearch_Click"
                CssClass="ButtonCss" />
            <asp:Button ID="btnClear" runat="server" Width="40px" Text="清空" CssClass="ButtonCss"
                OnClick="btnClear_Click" />
            &nbsp;
        </div>
    </div>
    <center>
        <asp:Panel ID="Panel1" runat="server" HorizontalAlign="Left" Height="350px" Width="850px"
            ScrollBars="Vertical">
            <table align="center" cellpadding="0" cellspacing="0" style="width: 750px">
                <tr class="td">
                    <td>
                        工号
                    </td>
                    <td>
                        <asp:Label ID="txtEmpCode" runat="server"></asp:Label>
                    </td>
                    <td>
                        部门
                    </td>
                    <td>
                        <asp:Label ID="ddlDeptID" runat="server"> </asp:Label>
                    </td>
                    <td>
                        职位
                    </td>
                    <td>
                        <asp:Label ID="ddlDutyID" runat="server"> </asp:Label>
                    </td>
                    <td>
                        入职日期
                    </td>
                    <td>
                        <asp:Label ID="txtJoinTime" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr class="td">
                    <td>
                        姓名
                    </td>
                    <td>
                        <asp:Label ID="txtEmpName" runat="server"></asp:Label>
                    </td>
                    <td>
                        性别
                    </td>
                    <td>
                        <asp:Label ID="ddlEmpSex" runat="server">
    
                        </asp:Label>
                    </td>
                    <td>
                        籍贯
                    </td>
                    <td>
                        <asp:Label ID="txtRegistry" runat="server"></asp:Label>
                    </td>
                    <td>
                        民族
                    </td>
                    <td>
                        <asp:Label ID="txtNationality" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr class="td">
                    <td>
                        出生日期
                    </td>
                    <td>
                        <asp:Label ID="txtBirthday" runat="server"></asp:Label>
                    </td>
                    <td>
                        学历
                    </td>
                    <td>
                        <asp:Label ID="ddlEducationID" runat="server"> </asp:Label>
                    </td>
                    <td>
                        婚否
                    </td>
                    <td>
                        <asp:Label ID="ddlIsMarry" runat="server">
     
                        </asp:Label>
                    </td>
                    <td>
                        电脑水平
                    </td>
                    <td>
                        <asp:Label ID="txtComputerLevel" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr class="td">
                    <td>
                        区域
                    </td>
                    <td>
                        <asp:Label ID="ddlAreaID" runat="server"> </asp:Label>
                    </td>
                    <td>
                        属班组
                    </td>
                    <td>
                        <asp:Label ID="txtWorkGroup" runat="server"></asp:Label>
                    </td>
                    <td>
                        工作状态
                    </td>
                    <td>
                        <asp:Label ID="ddlStateID" runat="server"> </asp:Label>
                    </td>
                    <td>
                        工资状态
                    </td>
                    <td>
                        <asp:Label ID="ddlSalaryState" runat="server">
     
                        </asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="td">
                        是否考核
                    </td>
                    <td>
                        <asp:Label ID="ddlIsCheck" runat="server">
     
                        </asp:Label>
                    </td>
                    <td>
                        社保金额
                    </td>
                    <td>
                        <asp:Label ID="txtSafetyAmount" runat="server">0</asp:Label>
                    </td>
                    <td>
                        试用时长
                    </td>
                    <td>
                        <asp:Label ID="txtTestTimeLong" runat="server"></asp:Label>
                        月
                    </td>
                    <td>
                        工资账号
                    </td>
                    <td>
                        <asp:Label ID="lbSalaryAccount" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                <td class="td"> 离职日期 </td>
                    <td class="td"> <asp:Label ID="lbLeaveTime" runat="server"></asp:Label></td>
                     <td class="td"> </td>
                    <td class="td">  </td>
                     <td class="td"> </td>
                    <td class="td">  </td>
                     <td class="td"> </td>
                    <td class="td">  </td>
                </tr>
            </table>
            <table align="center" cellpadding="0" cellspacing="0" style="width: 750px">
                <tr class="td">
                    <td style="width: 110px">
                        招聘来源
                    </td>
                    <td style="width: 280px">
                        <asp:Label ID="ddlHrFrom" runat="server">
           
                        </asp:Label>
                    </td>
                    <td style="width: 110px">
                        交通工具
                    </td>
                    <td>
                        <asp:Label ID="ddlVehicle" runat="server">
            
                        </asp:Label>
                    </td>
                </tr>
                <tr class="td">
                    <td>
                        身份证
                    </td>
                    <td>
                        <asp:Label ID="txtZipCode" runat="server"></asp:Label>
                    </td>
                    <td>
                        手机
                    </td>
                    <td>
                        <asp:Label ID="txtMobile" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr class="td">
                    <td>
                        家庭住址
                    </td>
                    <td>
                        <asp:Label ID="txtAddr" runat="server"></asp:Label>
                    </td>
                    <td>
                        家庭电话
                    </td>
                    <td>
                        <asp:Label ID="txtHomeTel" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr class="td">
                    <td>
                        现本市住址
                    </td>
                    <td>
                        <asp:Label ID="txtNowAddr" runat="server"></asp:Label>
                    </td>
                    <td>
                        期望上班地点
                    </td>
                    <td>
                        <asp:Label ID="txtWishWorkAddr" runat="server"></asp:Label>
                    </td>
                </tr>
            </table>
            <table align="center" cellpadding="0" cellspacing="0" style="width: 750px">
                <tr class="td">
                    <td style="width: 110px">
                        紧急联系人
                    </td>
                    <td>
                        <asp:Label ID="txtSpecialLinkMan" runat="server"></asp:Label>
                    </td>
                    <td width="92">
                        联系电话
                    </td>
                    <td width="186">
                        <asp:Label ID="txtSpecialLinkWay" runat="server"></asp:Label>
                    </td>
                    <td width="80">
                        关系
                    </td>
                    <td>
                        <asp:Label ID="txtSpecialRelation" runat="server"></asp:Label>
                    </td>
                </tr>
            </table>
            <table cellpadding="0" cellspacing="0" align="center" style="width: 750px">
                <tr>
                    <td class="style1">
                        家庭成员
                    </td>
                    <td class="td">
                    </td>
                </tr>
                <tr>
                    <td class="style1">
                    </td>
                    <td>
                        <asp:Label ID="txtFamilyMember" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="style1">
                        学习简历
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td class="style1">
                    </td>
                    <td>
                        <asp:Label ID="txtLearnExperience" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="style1">
                        工作经历
                    </td>
                    <td class="td">
                    </td>
                </tr>
                <tr>
                    <td class="style1">
                    </td>
                    <td>
                        <asp:Label ID="txtJobExperience" runat="server"></asp:Label>
                    </td>
                </tr>
            </table>
            <table cellpadding="0" cellspacing="0" align="center" style="width: 750px">
                <tr>
                    <td class="style1">
                        备注
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td class="style1">
                    </td>
                    <td>
                        <asp:Label ID="txtMemo" runat="server"></asp:Label>
                    </td>
                </tr>
            </table>
        </asp:Panel>
    </center>
    <table width="850px" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td valign="top">
                <asp:Panel ID="Panel2" runat="server" Width="410px" ScrollBars="Auto">
                    <asp:GridView ID="gvChange" runat="server" Width="409px" AutoGenerateColumns="False">
                        <Columns>
                            <asp:BoundField DataField="OldDeptName" HeaderText="原部门" SortExpression="OldDeptName">
                                <ItemStyle Width="100px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="OldDutyName" HeaderText="原职务" SortExpression="OldDutyName">
                                <ItemStyle Width="100px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="NewDeptName" HeaderText="新部门" SortExpression="NewDeptName">
                                <ItemStyle Width="80px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="NewDutyName" HeaderText="新职务" SortExpression="NewDutyName">
                                <ItemStyle Width="100px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="ChangeTypeName" HeaderText="变动内容" SortExpression="ChangeTypeName">
                                <ItemStyle Width="90px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="ChangeTime" HeaderText="执行时间" DataFormatString="{0:d}"
                                SortExpression="ChangeTime">
                                <ItemStyle Width="80px" />
                            </asp:BoundField>
                        </Columns>
                        <HeaderStyle BackColor="#D3E6F3" ForeColor="#0066CC" />
                    </asp:GridView>
                </asp:Panel>
            </td>
            <td valign="top">
                <asp:Panel ID="Panel3" runat="server" Width="440px" ScrollBars="Auto">
                    <asp:GridView ID="gvRewards" runat="server" Width="460px" AutoGenerateColumns="False">
                        <Columns>
                            <asp:BoundField DataField="RewardsTime" HeaderText="奖惩时间" SortExpression="RewardsTime"
                                DataFormatString="{0:d}" ItemStyle-HorizontalAlign="Center">
                                <ItemStyle Width="90px" />
                            </asp:BoundField>
                            <asp:TemplateField HeaderText="事由" SortExpression="RewardsReason">
                                <ItemTemplate>
                                    <%# Eval("RewardsReason").ToString().Length > 60 ? Eval("RewardsReason").ToString().Substring(0, 60) + ". . ." : Eval("RewardsReason")%>
                                </ItemTemplate>
                                <ItemStyle Width="150px" />
                            </asp:TemplateField>
                            <asp:BoundField DataField="ReJ" HeaderText="奖励类型" SortExpression="ReJ">
                                <ItemStyle Width="75px" />
                            </asp:BoundField>
                            <asp:TemplateField HeaderText="奖励金额" SortExpression="ReA">
                                <ItemTemplate>
                                    <%# Eval("ReA").ToString() == "" ? "" : (Eval("ReA").ToString() + Eval("ReU").ToString())%>
                                </ItemTemplate>
                                <ItemStyle Width="75px" />
                            </asp:TemplateField>
                            <asp:BoundField DataField="WaJ" HeaderText="惩罚类型" SortExpression="WaJ">
                                <ItemStyle Width="75px" />
                            </asp:BoundField>
                            <asp:TemplateField HeaderText="惩罚金额" SortExpression="WaA">
                                <ItemTemplate>
                                    <%# Eval("WaA").ToString() == "" ? "" : (Eval("WaA").ToString() + Eval("WaU").ToString())%>
                                </ItemTemplate>
                                <ItemStyle Width="75px" />
                            </asp:TemplateField>
                        </Columns>
                        <HeaderStyle BackColor="#D3E6F3" ForeColor="#0066CC" />
                    </asp:GridView>
                </asp:Panel>
            </td>
        </tr>
    </table>
    <table width="850px" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td valign="top">
            <asp:Panel ID="Panel4" runat="server" Width="410px" ScrollBars="Auto">
                    <asp:GridView ID="gvTrain" runat="server" Width="409px" AutoGenerateColumns="False">
                    <Columns>        
   
            <asp:BoundField DataField="TrainTime" HeaderText="培训日期" DataFormatString="{0:d}"
                SortExpression="TrainTime" ItemStyle-HorizontalAlign="Center">
                <ItemStyle Width="90px" />
            </asp:BoundField>           
            <asp:BoundField DataField="TrainItem" HeaderText="培训科目" SortExpression="TrainItem">
                <ItemStyle Width="149px" />
            </asp:BoundField>         
            <asp:BoundField DataField="CheckTime" HeaderText="考核时间" DataFormatString="{0:d}"
                SortExpression="CheckTime">
                <ItemStyle Width="90px" />
            </asp:BoundField>
            <asp:BoundField DataField="CheckGrade" HeaderText="考核分数" SortExpression="CheckGrade">
                <ItemStyle Width="80px" />
            </asp:BoundField>          
        </Columns>
                     <HeaderStyle BackColor="#D3E6F3" ForeColor="#0066CC" />
                    </asp:GridView>
                </asp:Panel>
            </td>
            <td valign="top">
             <asp:Panel ID="Panel5" runat="server" Width="440px" ScrollBars="Auto">
                    <asp:GridView ID="gvPassed" runat="server" Width="480px" AutoGenerateColumns="False">
                    <Columns>
               
              <asp:BoundField DataField="InfoTypeName" HeaderText="信息类型" SortExpression="InfoTypeName">
                <ItemStyle Width="80px" />
            </asp:BoundField>                  
            <asp:BoundField DataField="OldDutyName" HeaderText="原职务" SortExpression="OldDutyName">
                <ItemStyle Width="80px" />
            </asp:BoundField>
               <asp:BoundField DataField="PassedTypeName" HeaderText="转正类别" SortExpression="PassedTypeName">
                <ItemStyle Width="80px" />
            </asp:BoundField>            
            <asp:BoundField DataField="NewDutyName" HeaderText="新职务" SortExpression="NewDutyName">
                <ItemStyle Width="80px" />
            </asp:BoundField>

            <asp:BoundField DataField="JoinTime" HeaderText="入职时间" DataFormatString="{0:d}" SortExpression="JoinTime">
                <ItemStyle Width="80px" />
            </asp:BoundField>
            <asp:BoundField DataField="PassedTime" HeaderText="转正时间" DataFormatString="{0:d}" SortExpression="PassedTime">
                <ItemStyle Width="80px" />
            </asp:BoundField>           
            
        </Columns>
                     <HeaderStyle BackColor="#D3E6F3" ForeColor="#0066CC" />
                    </asp:GridView>
                </asp:Panel>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
